#include "stdafx.h"
#include "Functions.h"

void TCHARtoCHAR(UINT16 *pName, char *pStr)
{
	int i = 0;
	while (pName[i]!='\0')
		pStr[i] = (char)pName[i++];
	pStr[i]='\0';
}
void CHARtoTCHAR(char *pName, TCHAR *pStr)
{
	int i = 0;
	while (pName[i]!='\0')
		pStr[i] = pName[i++];
	pStr[i]='\0';
}